<UserControl x:Class="SqlMiM.Views.MenuView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:k="clr-namespace:SqlMiM.Common.Commands;assembly=SqlMiM.Common"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <UserControl.Resources>

        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/SqlMiM.Common;component/Resources/MainMenu.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>

    </UserControl.Resources>

    <Menu>

        <MenuItem Header="_File"  >
            <MenuItem Command="k:CommonCommands.NewConnectionCommand" InputGestureText="Ctrl+N" />
            <MenuItem Command="k:CommonCommands.OptionsCommand" InputGestureText="F1" />
            <Separator />
            <MenuItem Command="k:CommonCommands.ExitCommand"  />
        </MenuItem>

        <MenuItem Header="_Edit">
            <MenuItem Command="k:CommonCommands.UndoCommand" InputGestureText="Ctrl+Z" />
            <MenuItem Command="k:CommonCommands.RedoCommand" InputGestureText="Ctrl+Y" />
            <Separator />
            <MenuItem Command="k:CommonCommands.CutCommand" InputGestureText="Ctrl+X" />
            <MenuItem Command="k:CommonCommands.CopyCommand" InputGestureText="Ctrl+C" />
            <MenuItem Command="k:CommonCommands.PasteCommand" InputGestureText="Ctrl+V" />
            <MenuItem Command="k:CommonCommands.DeleteCommand" InputGestureText="Del" />
            <Separator />
            <MenuItem Command="k:CommonCommands.FindCommand" InputGestureText="Ctrl+F" />
            <MenuItem Command="k:CommonCommands.FindNextCommand" InputGestureText="F3" />
            <MenuItem Command="k:CommonCommands.ReplaceCommand" InputGestureText="Ctrl+H" />
        </MenuItem>

        <MenuItem Header="_?">
            <MenuItem Command="k:CommonCommands.AboutCommand" InputGestureText="F12" />
        </MenuItem>

    </Menu>

</UserControl>
